package com.swfee.qinben.dto.req;

import com.swfee.qinben.dto.base.BaseReqDto;

public class ScheduleReqDto extends BaseReqDto {

	private String scheduleId;
	private Integer nurseId;
	private String day;
	
	private String pageIndex = "1";
	private String pageSize = "15"; 
	private String fromDate;
	private String toDate;
	
	
	public String getScheduleId() {
		return scheduleId;
	}
	public void setScheduleId(String scheduleId) {
		this.scheduleId = scheduleId;
	}
	public Integer getNurseId() {
		return nurseId;
	}
	public void setNurseId(Integer nurseId) {
		this.nurseId = nurseId;
	}
	public String getDay() {
		return day;
	}
	public void setDay(String day) {
		this.day = day;
	}
	public String getPageIndex() {
		return pageIndex;
	}
	public void setPageIndex(String pageIndex) {
		this.pageIndex = pageIndex;
	}
	public String getPageSize() {
		return pageSize;
	}
	public void setPageSize(String pageSize) {
		this.pageSize = pageSize;
	}
	
	
	
	
	
	
	public String getFromDate() {
		return fromDate;
	}
	public void setFromDate(String fromDate) {
		this.fromDate = fromDate;
	}
	public String getToDate() {
		return toDate;
	}
	public void setToDate(String toDate) {
		this.toDate = toDate;
	}
	@Override
	public String propsToUrlString() {
		StringBuffer sb = new StringBuffer();
		sb.append("nurseId=" +  nurseId)
		.append("&scheduleId=" +  scheduleId)
		.append("&day=" + day)
		.append("&pageIndex=" + pageIndex)
		.append("&pageSize=" + pageSize)
		.append("&fromDate=" + fromDate)
		.append("&toDate=" + toDate);
		
		return sb.toString();
	}
	
	
}
